<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::visualization::PCLPainter2D类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1visualization_1_1_p_c_l_painter2_d.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::visualization::PCLPainter2D类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>PCL Painter2D main class. Class for drawing 2D figures  
 <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="pcl__painter2_d_8h_source.html">pcl_painter2D.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::visualization::PCLPainter2D 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1visualization_1_1_p_c_l_painter2_d.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1visualization_1_1_p_c_l_painter2_d_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a39d406312396ee25f9d1f7f97517111f"><td class="memItemLeft" align="right" valign="top"><a id="a39d406312396ee25f9d1f7f97517111f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a39d406312396ee25f9d1f7f97517111f">PCLPainter2D</a> (char const *name=&quot;PCLPainter2D&quot;)</td></tr>
<tr class="memdesc:a39d406312396ee25f9d1f7f97517111f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor of the class <br /></td></tr>
<tr class="separator:a39d406312396ee25f9d1f7f97517111f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b92fe4afd7db4aaf145f8646d375fab"><td class="memItemLeft" align="right" valign="top"><a id="a7b92fe4afd7db4aaf145f8646d375fab"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>vtkTypeMacro</b> (<a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html">PCLPainter2D</a>, vtkContextItem)</td></tr>
<tr class="separator:a7b92fe4afd7db4aaf145f8646d375fab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57c383d8c5cad64fdc70fadf2c18f034"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a57c383d8c5cad64fdc70fadf2c18f034">Paint</a> (vtkContext2D *painter)</td></tr>
<tr class="memdesc:a57c383d8c5cad64fdc70fadf2c18f034"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint event for the chart, called whenever the chart needs to be drawn  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a57c383d8c5cad64fdc70fadf2c18f034">更多...</a><br /></td></tr>
<tr class="separator:a57c383d8c5cad64fdc70fadf2c18f034"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2f8f6168dbf6e6a88484f5c1c3de01a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#ae2f8f6168dbf6e6a88484f5c1c3de01a">addLine</a> (float x1, float y1, float x2, float y2)</td></tr>
<tr class="memdesc:ae2f8f6168dbf6e6a88484f5c1c3de01a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a line between the specified points.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#ae2f8f6168dbf6e6a88484f5c1c3de01a">更多...</a><br /></td></tr>
<tr class="separator:ae2f8f6168dbf6e6a88484f5c1c3de01a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c1f256dfac11c2a10f6cf8d24d32ece"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a8c1f256dfac11c2a10f6cf8d24d32ece">addLine</a> (std::vector&lt; float &gt; p)</td></tr>
<tr class="memdesc:a8c1f256dfac11c2a10f6cf8d24d32ece"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw line(s) between the specified points  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a8c1f256dfac11c2a10f6cf8d24d32ece">更多...</a><br /></td></tr>
<tr class="separator:a8c1f256dfac11c2a10f6cf8d24d32ece"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafb6c77cdbdc0333077b0196e5ea3e37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aafb6c77cdbdc0333077b0196e5ea3e37">addPoint</a> (float x, float y)</td></tr>
<tr class="memdesc:aafb6c77cdbdc0333077b0196e5ea3e37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw specified point(s).  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aafb6c77cdbdc0333077b0196e5ea3e37">更多...</a><br /></td></tr>
<tr class="separator:aafb6c77cdbdc0333077b0196e5ea3e37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4af9c8c253b615196fb6c550cd353ab8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a4af9c8c253b615196fb6c550cd353ab8">addPoints</a> (std::vector&lt; float &gt; points)</td></tr>
<tr class="memdesc:a4af9c8c253b615196fb6c550cd353ab8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw specified point(s).  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a4af9c8c253b615196fb6c550cd353ab8">更多...</a><br /></td></tr>
<tr class="separator:a4af9c8c253b615196fb6c550cd353ab8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c66265159f9679e198864448d3830ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a2c66265159f9679e198864448d3830ad">addRect</a> (float x, float y, float width, float height)</td></tr>
<tr class="memdesc:a2c66265159f9679e198864448d3830ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a rectangle based on the given points  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a2c66265159f9679e198864448d3830ad">更多...</a><br /></td></tr>
<tr class="separator:a2c66265159f9679e198864448d3830ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4f46d2e4413d9e968c4922a975687d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aa4f46d2e4413d9e968c4922a975687d5">addQuad</a> (std::vector&lt; float &gt; p)</td></tr>
<tr class="memdesc:aa4f46d2e4413d9e968c4922a975687d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a quadrilateral based on the given points  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aa4f46d2e4413d9e968c4922a975687d5">更多...</a><br /></td></tr>
<tr class="separator:aa4f46d2e4413d9e968c4922a975687d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa25c38fb60e6f4d0100bf0e206e4e821"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aa25c38fb60e6f4d0100bf0e206e4e821">addPolygon</a> (std::vector&lt; float &gt; p)</td></tr>
<tr class="memdesc:aa25c38fb60e6f4d0100bf0e206e4e821"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a polygon between the specified points  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aa25c38fb60e6f4d0100bf0e206e4e821">更多...</a><br /></td></tr>
<tr class="separator:aa25c38fb60e6f4d0100bf0e206e4e821"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b73f2170057cde3fbbe1c3e4a869c62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a6b73f2170057cde3fbbe1c3e4a869c62">addEllipse</a> (float x, float y, float rx, float ry)</td></tr>
<tr class="memdesc:a6b73f2170057cde3fbbe1c3e4a869c62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw an ellipse based on the inputs  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a6b73f2170057cde3fbbe1c3e4a869c62">更多...</a><br /></td></tr>
<tr class="separator:a6b73f2170057cde3fbbe1c3e4a869c62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a144e77ea7b5296c0f29345067bee9f2c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a144e77ea7b5296c0f29345067bee9f2c">addCircle</a> (float x, float y, float r)</td></tr>
<tr class="memdesc:a144e77ea7b5296c0f29345067bee9f2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a circle based on the inputs  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a144e77ea7b5296c0f29345067bee9f2c">更多...</a><br /></td></tr>
<tr class="separator:a144e77ea7b5296c0f29345067bee9f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a485c43dd70b1f58885cba470c829e47a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a485c43dd70b1f58885cba470c829e47a">addEllipticArc</a> (float x, float y, float rx, float ry, float start_angle, float end_angle)</td></tr>
<tr class="memdesc:a485c43dd70b1f58885cba470c829e47a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw an elliptic arc based on the inputs  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a485c43dd70b1f58885cba470c829e47a">更多...</a><br /></td></tr>
<tr class="separator:a485c43dd70b1f58885cba470c829e47a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf5fcaff1e89aeac989d839b42e6c087"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#acf5fcaff1e89aeac989d839b42e6c087">addArc</a> (float x, float y, float r, float start_angle, float end_angle)</td></tr>
<tr class="memdesc:acf5fcaff1e89aeac989d839b42e6c087"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw an arc based on the inputs  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#acf5fcaff1e89aeac989d839b42e6c087">更多...</a><br /></td></tr>
<tr class="separator:acf5fcaff1e89aeac989d839b42e6c087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a773d8a7a7898e3b4fb820aa86a3e5aef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a773d8a7a7898e3b4fb820aa86a3e5aef">translatePen</a> (double x, double y)</td></tr>
<tr class="memdesc:a773d8a7a7898e3b4fb820aa86a3e5aef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a translation matrix and concatenate it with the current transformation.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a773d8a7a7898e3b4fb820aa86a3e5aef">更多...</a><br /></td></tr>
<tr class="separator:a773d8a7a7898e3b4fb820aa86a3e5aef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c57fe89dcda706f5aa1218c66c84cb0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a3c57fe89dcda706f5aa1218c66c84cb0">rotatePen</a> (double angle)</td></tr>
<tr class="memdesc:a3c57fe89dcda706f5aa1218c66c84cb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a rotation matrix and concatenate it with the current transformation.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a3c57fe89dcda706f5aa1218c66c84cb0">更多...</a><br /></td></tr>
<tr class="separator:a3c57fe89dcda706f5aa1218c66c84cb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a03de7626b15e093d4500e9f70b4f64"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a4a03de7626b15e093d4500e9f70b4f64">scalePen</a> (double x, double y)</td></tr>
<tr class="memdesc:a4a03de7626b15e093d4500e9f70b4f64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a scale matrix and concatenate it with the current transformation.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a4a03de7626b15e093d4500e9f70b4f64">更多...</a><br /></td></tr>
<tr class="separator:a4a03de7626b15e093d4500e9f70b4f64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa69679836ad116e0d6ed5916b3399335"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aa69679836ad116e0d6ed5916b3399335">setTransform</a> (vtkMatrix3x3 *matrix)</td></tr>
<tr class="memdesc:aa69679836ad116e0d6ed5916b3399335"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a translation matrix and concatenate it with the current transformation.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aa69679836ad116e0d6ed5916b3399335">更多...</a><br /></td></tr>
<tr class="separator:aa69679836ad116e0d6ed5916b3399335"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54be6a96700dcc33a65e1b74f0c0cf01"><td class="memItemLeft" align="right" valign="top"><a id="a54be6a96700dcc33a65e1b74f0c0cf01"></a>
vtkMatrix3x3 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a54be6a96700dcc33a65e1b74f0c0cf01">getTransform</a> ()</td></tr>
<tr class="memdesc:a54be6a96700dcc33a65e1b74f0c0cf01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current transformation matrix. <br /></td></tr>
<tr class="separator:a54be6a96700dcc33a65e1b74f0c0cf01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a071c9918b5018c9a43933f2c3089554c"><td class="memItemLeft" align="right" valign="top"><a id="a071c9918b5018c9a43933f2c3089554c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a071c9918b5018c9a43933f2c3089554c">clearTransform</a> ()</td></tr>
<tr class="memdesc:a071c9918b5018c9a43933f2c3089554c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears all the transformation applied. Sets the transformation matrix to Identity <br /></td></tr>
<tr class="separator:a071c9918b5018c9a43933f2c3089554c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d9c2d48bdcf9d717038f289b5d09049"><td class="memItemLeft" align="right" valign="top"><a id="a8d9c2d48bdcf9d717038f289b5d09049"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a8d9c2d48bdcf9d717038f289b5d09049">clearFigures</a> ()</td></tr>
<tr class="memdesc:a8d9c2d48bdcf9d717038f289b5d09049"><td class="mdescLeft">&#160;</td><td class="mdescRight">remove all the figures from the window <br /></td></tr>
<tr class="separator:a8d9c2d48bdcf9d717038f289b5d09049"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeadf390b4165c9407d3e8f2f13196440"><td class="memItemLeft" align="right" valign="top"><a id="aeadf390b4165c9407d3e8f2f13196440"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aeadf390b4165c9407d3e8f2f13196440">setPenColor</a> (unsigned char r, unsigned char g, unsigned char b, unsigned char a)</td></tr>
<tr class="memdesc:aeadf390b4165c9407d3e8f2f13196440"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get methods for current working vtkPen <br /></td></tr>
<tr class="separator:aeadf390b4165c9407d3e8f2f13196440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64cba7a8e9057b9c80582770a00b8241"><td class="memItemLeft" align="right" valign="top"><a id="a64cba7a8e9057b9c80582770a00b8241"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPenWidth</b> (float w)</td></tr>
<tr class="separator:a64cba7a8e9057b9c80582770a00b8241"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a125ba1a726068787520bb86a73adbf8f"><td class="memItemLeft" align="right" valign="top"><a id="a125ba1a726068787520bb86a73adbf8f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPenType</b> (int type)</td></tr>
<tr class="separator:a125ba1a726068787520bb86a73adbf8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa74cd46e95687bb7824e1df80a263fe5"><td class="memItemLeft" align="right" valign="top"><a id="aa74cd46e95687bb7824e1df80a263fe5"></a>
unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#aa74cd46e95687bb7824e1df80a263fe5">getPenColor</a> ()</td></tr>
<tr class="memdesc:aa74cd46e95687bb7824e1df80a263fe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get methods for current working vtkPen <br /></td></tr>
<tr class="separator:aa74cd46e95687bb7824e1df80a263fe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73a4f52ac10217517fc2d112e56585ff"><td class="memItemLeft" align="right" valign="top"><a id="a73a4f52ac10217517fc2d112e56585ff"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getPenWidth</b> ()</td></tr>
<tr class="separator:a73a4f52ac10217517fc2d112e56585ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8014107cd8b6b6f95046711c6473a5f6"><td class="memItemLeft" align="right" valign="top"><a id="a8014107cd8b6b6f95046711c6473a5f6"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>getPenType</b> ()</td></tr>
<tr class="separator:a8014107cd8b6b6f95046711c6473a5f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe2a2d1256dc4e8e441efe1986c34ff0"><td class="memItemLeft" align="right" valign="top"><a id="abe2a2d1256dc4e8e441efe1986c34ff0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPen</b> (vtkPen *pen)</td></tr>
<tr class="separator:abe2a2d1256dc4e8e441efe1986c34ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0e1ee6e69f5bcb55199279b493482b1"><td class="memItemLeft" align="right" valign="top"><a id="af0e1ee6e69f5bcb55199279b493482b1"></a>
vtkPen *&#160;</td><td class="memItemRight" valign="bottom"><b>getPen</b> ()</td></tr>
<tr class="separator:af0e1ee6e69f5bcb55199279b493482b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac47d3ff324b7b13af8fb002b847515bb"><td class="memItemLeft" align="right" valign="top"><a id="ac47d3ff324b7b13af8fb002b847515bb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#ac47d3ff324b7b13af8fb002b847515bb">setBrush</a> (vtkBrush *brush)</td></tr>
<tr class="memdesc:ac47d3ff324b7b13af8fb002b847515bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get methods for current working vtkBrush <br /></td></tr>
<tr class="separator:ac47d3ff324b7b13af8fb002b847515bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4b51d04c887df05a13a40a43609c1bd"><td class="memItemLeft" align="right" valign="top"><a id="ae4b51d04c887df05a13a40a43609c1bd"></a>
vtkBrush *&#160;</td><td class="memItemRight" valign="bottom"><b>getBrush</b> ()</td></tr>
<tr class="separator:ae4b51d04c887df05a13a40a43609c1bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a9070b11b84ff615b9d53dcca8f21b7"><td class="memItemLeft" align="right" valign="top"><a id="a3a9070b11b84ff615b9d53dcca8f21b7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setBrushColor</b> (unsigned char r, unsigned char g, unsigned char b, unsigned char a)</td></tr>
<tr class="separator:a3a9070b11b84ff615b9d53dcca8f21b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1383d8ac8f2a8be8fc7a29bfc8748131"><td class="memItemLeft" align="right" valign="top"><a id="a1383d8ac8f2a8be8fc7a29bfc8748131"></a>
unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><b>getBrushColor</b> ()</td></tr>
<tr class="separator:a1383d8ac8f2a8be8fc7a29bfc8748131"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5840d36bf5d953ba1b5e1c924ba2f7ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a5840d36bf5d953ba1b5e1c924ba2f7ce">setBackgroundColor</a> (const double r, const double g, const double b)</td></tr>
<tr class="memdesc:a5840d36bf5d953ba1b5e1c924ba2f7ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the viewport's background color.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a5840d36bf5d953ba1b5e1c924ba2f7ce">更多...</a><br /></td></tr>
<tr class="separator:a5840d36bf5d953ba1b5e1c924ba2f7ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76d12170524b9629fb9385a7f6979c03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a76d12170524b9629fb9385a7f6979c03">setBackgroundColor</a> (const double color[3])</td></tr>
<tr class="memdesc:a76d12170524b9629fb9385a7f6979c03"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the viewport's background color.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a76d12170524b9629fb9385a7f6979c03">更多...</a><br /></td></tr>
<tr class="separator:a76d12170524b9629fb9385a7f6979c03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf93f82e8b422de4a403999756344068"><td class="memItemLeft" align="right" valign="top">double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#adf93f82e8b422de4a403999756344068">getBackgroundColor</a> ()</td></tr>
<tr class="memdesc:adf93f82e8b422de4a403999756344068"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the viewport's background color.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#adf93f82e8b422de4a403999756344068">更多...</a><br /></td></tr>
<tr class="separator:adf93f82e8b422de4a403999756344068"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af531a50e5136562f533b538ae29f0147"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#af531a50e5136562f533b538ae29f0147">setWindowSize</a> (int w, int h)</td></tr>
<tr class="memdesc:af531a50e5136562f533b538ae29f0147"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the window size.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#af531a50e5136562f533b538ae29f0147">更多...</a><br /></td></tr>
<tr class="separator:af531a50e5136562f533b538ae29f0147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a206cd86a2fa97623d6c1f073267285a3"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a206cd86a2fa97623d6c1f073267285a3">getWindowSize</a> ()</td></tr>
<tr class="memdesc:a206cd86a2fa97623d6c1f073267285a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the window size.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a206cd86a2fa97623d6c1f073267285a3">更多...</a><br /></td></tr>
<tr class="separator:a206cd86a2fa97623d6c1f073267285a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62f28df612d9044ce962740e50e7e227"><td class="memItemLeft" align="right" valign="top"><a id="a62f28df612d9044ce962740e50e7e227"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a62f28df612d9044ce962740e50e7e227">display</a> ()</td></tr>
<tr class="memdesc:a62f28df612d9044ce962740e50e7e227"><td class="mdescLeft">&#160;</td><td class="mdescRight">displays all the figures added in a window. <br /></td></tr>
<tr class="separator:a62f28df612d9044ce962740e50e7e227"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf068e4c0b5d5739e23f03dcb53e174"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#adbf068e4c0b5d5739e23f03dcb53e174">spinOnce</a> (const int spin_time=0)</td></tr>
<tr class="memdesc:adbf068e4c0b5d5739e23f03dcb53e174"><td class="mdescLeft">&#160;</td><td class="mdescRight">spins (runs the event loop) the interactor for spin_time amount of time. The name is confusing and will be probably obsolete in the future release with a single overloaded <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a17d878239ac5de24fcb134dfd4603932" title="spins (runs the event loop) the interactor indefinitely. Same as display() - added to retain the simi...">spin()</a>/display() function.  <a href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#adbf068e4c0b5d5739e23f03dcb53e174">更多...</a><br /></td></tr>
<tr class="separator:adbf068e4c0b5d5739e23f03dcb53e174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d878239ac5de24fcb134dfd4603932"><td class="memItemLeft" align="right" valign="top"><a id="a17d878239ac5de24fcb134dfd4603932"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a17d878239ac5de24fcb134dfd4603932">spin</a> ()</td></tr>
<tr class="memdesc:a17d878239ac5de24fcb134dfd4603932"><td class="mdescLeft">&#160;</td><td class="mdescRight">spins (runs the event loop) the interactor indefinitely. Same as <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a62f28df612d9044ce962740e50e7e227" title="displays all the figures added in a window.">display()</a> - added to retain the similarity between other existing visualization classes <br /></td></tr>
<tr class="separator:a17d878239ac5de24fcb134dfd4603932"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:afc9328774e5e6ca9c0e1abeea5555a65"><td class="memItemLeft" align="right" valign="top"><a id="afc9328774e5e6ca9c0e1abeea5555a65"></a>
std::vector&lt; <a class="el" href="structpcl_1_1visualization_1_1_figure2_d.html">Figure2D</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>figures_</b></td></tr>
<tr class="separator:afc9328774e5e6ca9c0e1abeea5555a65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4fd90788725c9ef8c2e5dafe9ba79c5"><td class="memItemLeft" align="right" valign="top"><a id="ad4fd90788725c9ef8c2e5dafe9ba79c5"></a>
vtkPen *&#160;</td><td class="memItemRight" valign="bottom"><b>current_pen_</b></td></tr>
<tr class="separator:ad4fd90788725c9ef8c2e5dafe9ba79c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8af898df9759b616e61b37fcb456a13b"><td class="memItemLeft" align="right" valign="top"><a id="a8af898df9759b616e61b37fcb456a13b"></a>
vtkBrush *&#160;</td><td class="memItemRight" valign="bottom"><b>current_brush_</b></td></tr>
<tr class="separator:a8af898df9759b616e61b37fcb456a13b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00bc3c7f53aa9aee99b7ebc892cb8dba"><td class="memItemLeft" align="right" valign="top"><a id="a00bc3c7f53aa9aee99b7ebc892cb8dba"></a>
vtkTransform2D *&#160;</td><td class="memItemRight" valign="bottom"><b>current_transform_</b></td></tr>
<tr class="separator:a00bc3c7f53aa9aee99b7ebc892cb8dba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af521737788c6109a9c58cec4596bc553"><td class="memItemLeft" align="right" valign="top"><a id="af521737788c6109a9c58cec4596bc553"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>win_width_</b></td></tr>
<tr class="separator:af521737788c6109a9c58cec4596bc553"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96d6b67068f8f4cad44f894228e24ad8"><td class="memItemLeft" align="right" valign="top"><a id="a96d6b67068f8f4cad44f894228e24ad8"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>win_height_</b></td></tr>
<tr class="separator:a96d6b67068f8f4cad44f894228e24ad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7c21e344df1881cbecc20a387136931"><td class="memItemLeft" align="right" valign="top"><a id="af7c21e344df1881cbecc20a387136931"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>bkg_color_</b> [3]</td></tr>
<tr class="separator:af7c21e344df1881cbecc20a387136931"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a421119d4e8254517088913adde51ca63"><td class="memItemLeft" align="right" valign="top"><a id="a421119d4e8254517088913adde51ca63"></a>
vtkContextView *&#160;</td><td class="memItemRight" valign="bottom"><b>view_</b></td></tr>
<tr class="separator:a421119d4e8254517088913adde51ca63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdc07525ae779dc17e7f21d27b746738"><td class="memItemLeft" align="right" valign="top"><a id="acdc07525ae779dc17e7f21d27b746738"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; <a class="el" href="structpcl_1_1visualization_1_1_p_c_l_painter2_d_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#acdc07525ae779dc17e7f21d27b746738">exit_loop_timer_</a></td></tr>
<tr class="memdesc:acdc07525ae779dc17e7f21d27b746738"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback object enabling us to leave the main loop, when a timer fires. <br /></td></tr>
<tr class="separator:acdc07525ae779dc17e7f21d27b746738"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>PCL Painter2D main class. Class for drawing 2D figures </p>
<dl class="section author"><dt>作者</dt><dd>Kripasindhu Sarkar </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="acf5fcaff1e89aeac989d839b42e6c087"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf5fcaff1e89aeac989d839b42e6c087">&#9670;&nbsp;</a></span>addArc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addArc </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>start_angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>end_angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw an arc based on the inputs </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>X coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Y coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>radius of the circle </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">start_angle</td><td>the starting angle of the arc expressed in degrees </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">end_angle</td><td>the ending angle of the arc expressed in degrees </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a144e77ea7b5296c0f29345067bee9f2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a144e77ea7b5296c0f29345067bee9f2c">&#9670;&nbsp;</a></span>addCircle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addCircle </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a circle based on the inputs </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>X coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Y coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>radius of the circle </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6b73f2170057cde3fbbe1c3e4a869c62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b73f2170057cde3fbbe1c3e4a869c62">&#9670;&nbsp;</a></span>addEllipse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addEllipse </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>ry</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw an ellipse based on the inputs </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>X coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Y coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rx</td><td>X radius of the ellipse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ry</td><td>Y radius of the ellipse </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a485c43dd70b1f58885cba470c829e47a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a485c43dd70b1f58885cba470c829e47a">&#9670;&nbsp;</a></span>addEllipticArc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addEllipticArc </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>ry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>start_angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>end_angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw an elliptic arc based on the inputs </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>X coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Y coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rx</td><td>X radius of the ellipse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ry</td><td>Y radius of the ellipse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">start_angle</td><td>the starting angle of the arc expressed in degrees </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">end_angle</td><td>the ending angle of the arc expressed in degrees </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae2f8f6168dbf6e6a88484f5c1c3de01a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2f8f6168dbf6e6a88484f5c1c3de01a">&#9670;&nbsp;</a></span>addLine() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addLine </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a line between the specified points. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x1</td><td>X coordinate of the starting point of the line </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y1</td><td>Y coordinate of the starting point of the line </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x2</td><td>X coordinate of the ending point of the line </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y2</td><td>Y coordinate of the ending point of the line </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8c1f256dfac11c2a10f6cf8d24d32ece"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c1f256dfac11c2a10f6cf8d24d32ece">&#9670;&nbsp;</a></span>addLine() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addLine </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; float &gt;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw line(s) between the specified points </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>a vector of size 2*n and the points are packed x1, y1, x2, y2 etc. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aafb6c77cdbdc0333077b0196e5ea3e37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafb6c77cdbdc0333077b0196e5ea3e37">&#9670;&nbsp;</a></span>addPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addPoint </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw specified point(s). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>X coordinate of the point </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Y coordinate of the point </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4af9c8c253b615196fb6c550cd353ab8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4af9c8c253b615196fb6c550cd353ab8">&#9670;&nbsp;</a></span>addPoints()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addPoints </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; float &gt;&#160;</td>
          <td class="paramname"><em>points</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw specified point(s). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">points</td><td>a vector of size 2*n and the points are packed x1, y1, x2, y2 etc. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa25c38fb60e6f4d0100bf0e206e4e821"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa25c38fb60e6f4d0100bf0e206e4e821">&#9670;&nbsp;</a></span>addPolygon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addPolygon </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; float &gt;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a polygon between the specified points </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>a vector of size 2*n and the points are packed x1, y1, x2, y2 etc. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa4f46d2e4413d9e968c4922a975687d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4f46d2e4413d9e968c4922a975687d5">&#9670;&nbsp;</a></span>addQuad()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addQuad </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; float &gt;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a quadrilateral based on the given points </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>a vector of size 8 and the points are packed x1, y1, x2, y2, x3, y3 and x4, y4. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2c66265159f9679e198864448d3830ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c66265159f9679e198864448d3830ad">&#9670;&nbsp;</a></span>addRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::addRect </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a rectangle based on the given points </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>X coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Y coordinate of the origin </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>width of the rectangle </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>height of the rectangle </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adf93f82e8b422de4a403999756344068"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf93f82e8b422de4a403999756344068">&#9670;&nbsp;</a></span>getBackgroundColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* pcl::visualization::PCLPainter2D::getBackgroundColor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the viewport's background color. </p>
<dl class="section return"><dt>返回</dt><dd>[out] color the array containing the 3 component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </dd></dl>

</div>
</div>
<a id="a206cd86a2fa97623d6c1f073267285a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a206cd86a2fa97623d6c1f073267285a3">&#9670;&nbsp;</a></span>getWindowSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* pcl::visualization::PCLPainter2D::getWindowSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the window size. </p>
<dl class="section return"><dt>返回</dt><dd>[in] array containing the width and height of the window </dd></dl>

</div>
</div>
<a id="a57c383d8c5cad64fdc70fadf2c18f034"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57c383d8c5cad64fdc70fadf2c18f034">&#9670;&nbsp;</a></span>Paint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool pcl::visualization::PCLPainter2D::Paint </td>
          <td>(</td>
          <td class="paramtype">vtkContext2D *&#160;</td>
          <td class="paramname"><em>painter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Paint event for the chart, called whenever the chart needs to be drawn </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">painter</td><td>Name of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3c57fe89dcda706f5aa1218c66c84cb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c57fe89dcda706f5aa1218c66c84cb0">&#9670;&nbsp;</a></span>rotatePen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::rotatePen </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a rotation matrix and concatenate it with the current transformation. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">angle</td><td>angle in degrees </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4a03de7626b15e093d4500e9f70b4f64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a03de7626b15e093d4500e9f70b4f64">&#9670;&nbsp;</a></span>scalePen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::scalePen </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a scale matrix and concatenate it with the current transformation. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>translation along X axis </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>translation along Y axis </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a76d12170524b9629fb9385a7f6979c03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76d12170524b9629fb9385a7f6979c03">&#9670;&nbsp;</a></span>setBackgroundColor() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::setBackgroundColor </td>
          <td>(</td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>color</em>[3]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the viewport's background color. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>the array containing the 3 component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5840d36bf5d953ba1b5e1c924ba2f7ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5840d36bf5d953ba1b5e1c924ba2f7ce">&#9670;&nbsp;</a></span>setBackgroundColor() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::setBackgroundColor </td>
          <td>(</td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the viewport's background color. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>the red component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td>the green component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>the blue component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa69679836ad116e0d6ed5916b3399335"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa69679836ad116e0d6ed5916b3399335">&#9670;&nbsp;</a></span>setTransform()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::setTransform </td>
          <td>(</td>
          <td class="paramtype">vtkMatrix3x3 *&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a translation matrix and concatenate it with the current transformation. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">matrix</td><td>the transformation matrix </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af531a50e5136562f533b538ae29f0147"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af531a50e5136562f533b538ae29f0147">&#9670;&nbsp;</a></span>setWindowSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::setWindowSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the window size. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>the width of the window </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>the height of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adbf068e4c0b5d5739e23f03dcb53e174"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbf068e4c0b5d5739e23f03dcb53e174">&#9670;&nbsp;</a></span>spinOnce()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::spinOnce </td>
          <td>(</td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>spin_time</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>spins (runs the event loop) the interactor for spin_time amount of time. The name is confusing and will be probably obsolete in the future release with a single overloaded <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html#a17d878239ac5de24fcb134dfd4603932" title="spins (runs the event loop) the interactor indefinitely. Same as display() - added to retain the simi...">spin()</a>/display() function. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">spin_time</td><td>- How long (in ms) should the visualization loop be allowed to run. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a773d8a7a7898e3b4fb820aa86a3e5aef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a773d8a7a7898e3b4fb820aa86a3e5aef">&#9670;&nbsp;</a></span>translatePen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPainter2D::translatePen </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a translation matrix and concatenate it with the current transformation. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>translation along X axis </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>translation along Y axis </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>visualization/include/pcl/visualization/<a class="el" href="pcl__painter2_d_8h_source.html">pcl_painter2D.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>visualization</b></li><li class="navelem"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_painter2_d.html">PCLPainter2D</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
